class FixRelationalTables < ActiveRecord::Migration
  def self.up
    drop_table :events_people
    drop_table :events_visitors
    create_table :events_people, :id => false do |t|
      t.references :event
      t.references :person
    end
    create_table :events_visitors, :id => false do |t|
      t.references :event
      t.references :visitor
    end
  end

  def self.down
    
  end
end
